/*
 * Created by SharpDevelop.
 * User: Tivadar Papai
 * Date: 10/11/2007
 * Time: 11:08 PM
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */

using System;
using RoverStudio.Math;

namespace RoverStudio.MapDisplay.WM2D
{
	public enum EventType {MouseBtnLeft, MouseBtnRight, MouseMovement};
	

	public class MapUserInteractionEventArgs:EventArgs
	{
		public EventType type;
		public Vector2D eventPlaceOnScreen;
		public Vector3D eventPlaceInWorld;
		public Vector3D eventDirectionInWorld;
		
		public MapUserInteractionEventArgs(
			EventType type,
			Vector2D eventPlaceOnScreen,
			Vector3D eventPlaceInWorld,
			Vector3D eventDirectionInWorld
			)
		{
			this.type = type;
			this.eventPlaceOnScreen = eventPlaceOnScreen;
			this.eventPlaceInWorld = eventPlaceInWorld;
			this.eventDirectionInWorld = eventDirectionInWorld;
		}
	}
	
	public delegate void MapUserInteractionEventHandler(object sender, MapUserInteractionEventArgs muie);

}
